package com.sykj.chengqiang.controller;

import com.sykj.bean.sys.SysIcon;
import com.sykj.chengqiang.service.SysIconService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @program: BeautyClub
 * @description:
 * @author: qiaoli
 * @create: 2020-07-14 12:01
 */
@RestController
@RequestMapping("/sys")
public class SysController {
    @Autowired
    SysIconService sysIconService;

    @RequestMapping("/query")
    public List<SysIcon> queryList(){
        return sysIconService.list();
    }
}
